   <form id="inputForm" action="/admin/category/save" method="post" enctype="multipart/form-data">
	<input name="id" type="hidden" value="<?php echo $category->id; ?>">
      <div class="row clearfix">
        <label for="name">类别名:</label>
        <p><span>
		<input name="name" maxlength="100" id="name" class="inputs med required" value="<?php echo $category->name;?>" >
          </span><span id="NameError"></span></p>
      </div>
      <div class="row clearfix">
        <label for="name">类别图:</label>
        <input name="imgfile" type="file" accept="image/*">
      </div>
      <div class="row clearfix">
        <input type="submit" name="submitBtn" id="submitBtn" class="submit" value="更新">
      </div>
    </form>
